import { createPinia } from "pinia";
import { useUserStore } from "./modules/user";
import { useTaskStore } from "./modules/task";

import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

export { useUserStore, useTaskStore };
export default pinia;
